FROM tomcat:8.5.65-jdk8-openjdk

CMD ["catalina.sh", "run", ">>", "/usr/local/tomcat/logs/catalina.out", "2>&1"]
# system default timezone UTC-8
RUN {\
  ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime; \
  echo "Asia/Shanghai" > /etc/timezone; \
}

